class Solution {
public:
    vector<int> stableMountains(vector<int>& height, int threshold) {
        vector<int> ret;
        int n = height.size();
        for(int i = 0; i < n - 1; i++)
            if(height[i] > threshold)
                ret.push_back(i + 1);
        return ret;
    }
};